<template>
  <div class="empty">
    <img src="@/UI/assets/searchEmpty.svg" alt="empty" />
    <span>搜索结果为空，请尝试重新输入</span>
  </div>
</template>
<script setup lang="ts">
import { Button } from "cax-ui";
import { ref, defineEmits } from "vue";
let active = ref(false);
function changeActive(value: boolean) {
  active.value = value;
}
const emits = defineEmits(["refresh"]);
</script>
<style lang="less" scoped>
.empty {
  background-color: #f1f2f4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  img {
    width: 288px;
    height: 256px;
  }
  span {
    display: inline-block;
    margin-top: 18px;
    font-family: PingFang SC;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }
}
</style>
